//
//  WalletDetailTabBarController.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/18.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "WalletDetailTabBarController.h"
//
#import "BCWalletDetailController.h"

@interface WalletDetailTabBarController () <UITabBarControllerDelegate>

@end

@implementation WalletDetailTabBarController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tabBar.hidden = true;
    self.view.backgroundColor = [UIColor generalWhiteBackgroundColor];
}
- (void)setMenus:(NSArray<BCUserWalletDataMenu *> *)menus {
    _menus = menus;
    //
    NSInteger count = menus.count;
    NSMutableArray *controllers = [NSMutableArray arrayWithCapacity:count];
    for (int i=0; i<count; i++) {
        BCUserWalletDataMenu *menu = menus[i];
        //
        BCWalletDetailController *vc = [BCWalletDetailController new];
        vc.menuItem = menu;
        [controllers addObject:vc];
    }
    //
    self.viewControllers = controllers;
    //
    if (self.moreNavigationController) {
        self.moreNavigationController.navigationBar.hidden = true;
    }
}




@end
